package com.cqie.mapper.medical;

import com.cqie.dto.medical.MedicalPublicationDto;
import com.cqie.entity.MedicalPublication;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 公告信息表 Mapper 接口
 * </p>
 *
 * @author 不吃海鲜
 * @since 2024-12-04
 */
public interface MedicalPublicationMapper extends BaseMapper<MedicalPublication> {

    // 根据公告ID修改信息
    Boolean updateMedicalByPublicationId(MedicalPublication medicalPublication);

    // 查询公告信息 List
    List<MedicalPublicationDto> getMedicalPublicationList(String publicationType);

    // 根据 publicationId 删除公告信息
    Boolean deleteMedicalPublication(Integer publicationId);
}
